package com.BlogPark.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Auther: MFM
 * @Date: 2022/8/10 - 08 - 10 - 20:26
 * @version: 1.0
 */

@Configuration
@ComponentScan({"com.BlogPark.service", "com.BlogPark.pojo", "com.BlogPark.mapper"})
@PropertySource("classpath:jdbc.properties")
@Import({JdbcConfig.class, MybatisConfig.class})
@EnableTransactionManagement
public class SpringConfig {
}
